package xyz.xtt.exchange.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资产扩展信息表
 * </p>
 *
 * @author author
 * @since 2024-10-31
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_asset_ext")
@ApiModel(value = "TblAssetExt对象", description = "资产扩展信息表")
public class TblAssetExt implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "ID")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@ApiModelProperty(value = "资产表ID")
	private Long assetId;

	@ApiModelProperty(value = "token_id")
	private Integer tokenId;

	@ApiModelProperty(value = "链名称")
	private String chainName;

	@ApiModelProperty(value = "链ID")
	private String chainId;

	@ApiModelProperty(value = "区块号")
	private String chainBlockNum;

	@ApiModelProperty(value = "交易hash")
	private String chainTxHash;

	@ApiModelProperty(value = "上链时间")
	private Long chainTime;

	@ApiModelProperty(value = "协议标准")
	private String referProtocol;

	@ApiModelProperty(value = "出售开始时间")
	private Long sellStartDatetime;

	@ApiModelProperty(value = "出售结束时间")
	private Long sellEndDatetime;

	@ApiModelProperty(value = "最新修改时间")
	private Long lastModifyDatetime;

}
